package com.hsteach.common.core.domain.model;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
 * 用户登录对象
 *
 * @author ruoyi
 */
@ApiModel(value = "LoginBody", description = "用户登录对象")
@Data
public class LoginBody
{
    /**
     * accessToken
     */
    @ApiModelProperty(value = "accessToken", required = true)
    private String accessToken;

    /**
     * appToken
     */
    @ApiModelProperty(value = "地址传入的appId", required = true)
    private String appId;

    /**
     * appId
     */
    @ApiModelProperty(value = "前端请求第三方接口获取的orgCode", required = true)
    private String orgCode;

    /**
     * token
     */
    @ApiModelProperty(value = "前端请求第三方接口获取的token", required = true)
    private String token;

    /**
     * 选择的学生
     */
    @ApiModelProperty(value = "选择的学生id", required = false)
    private String studentId;

    /**
     * 选择的学生
     */
    @ApiModelProperty(value = "前端请求第三方接口获取的personId", required = true)
    private String personId;

    /**
     * 登录来源
     */
    @ApiModelProperty(value = "默认幼教，general普教", required = true)
    private String source;

    /**
     * 获取MenuList菜单的远程地址源
     * null：默认源；1：设备菜单源
     */
    @ApiModelProperty(value = "获取MenuList菜单的远程地址源，除了设备，其它全不传", required = false)
    private String menuListSource;
}
